﻿@using DataMongo
@model IEnumerable<DataMongo.Entities.Tags>
@{
    ViewBag.Title = "Tags";
}
<div class="row">
    <div class="col-lg-12">
        <h2>Tag List</h2>
        <p>@Html.ActionLink("Create", "AddTags", "SuperAdmin", "", new { @class = "btn btn-info" })</p>
        <div class="table-responsive">
            <table class="table table-bordered table-hover table-striped tablesorter">
                <thead>
                    <tr>
                        <th>TagName <i class="fa fa-sort"></i></th>
                        
                        
                        <th width="15%">

                        </th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var item in Model)
                    {
                        <tr>
                        
                         
                            <td>@item.TagName</td>
                           
                            <td>
                                @Html.ActionLink("Edit", "EditTags", new { id = item.TagId }) |
                                @Html.ActionLink("Delete", "DeleteTags", new { id = item.TagId })
                            </td>
                        </tr>
                    }
                </tbody>
            </table>
        </div>
    </div>
</div>
